package com.doit.day01

import java.util.Random

object _04_流程控制语句 {
  def main(args: Array[String]): Unit = {
    val random: Random = new Random()
    val num: Int = random.nextInt(100)
    if (num > 90){
      println("完美")
    }else if (num > 80){
      println("优秀")
    }else if(num > 60){
      println("及格")
    }else{
      println("不及格")
    }

  }

}
